// 同步当前路由配置
import { constantRoutes } from '@/router'
const state = {
  // 默认静态路由
  routesList: constantRoutes
}
const getters = {}
const mutations = {
  // 修改routesList
  setRoutesList (state, value) {
    state.routesList = value
  }
}
const actions = {}
export default {
  namespaced: true,
  state,
  getters,
  mutations,
  actions
}
